FROM python:3

ENV PYTHONUNBUFFERED 1

WORKDIR /usr/src/github_celery

COPY poetry.lock pyproject.toml /usr/src/github_celery/

RUN pip3 install poetry

RUN poetry install